/*const { VantResolver } = require('unplugin-vue-components/resolvers');
const ComponentsPlugin = require('unplugin-vue-components/webpack');*/
module.exports = {
   /* configureWebpack: {
        plugins: [
            ComponentsPlugin({
                resolvers: [VantResolver()],
            }),
        ],
    },*/
    configureWebpack: {
        externals: {
            "BMap": 'BMap'
        },
    },
    lintOnSave: false,
    devServer: { // 自定义服务配置
        // open: true, // 自动打开浏览器
        port: 8888,
        // disableHostCheck: true,
        // proxy: {
        //     '/': {// "/"为以后网络的根目录
        //         target: 'http://localhost:8080/',//tomcat的端口号
        //         changeOrigin: true,
        //         ws: true,
        //         pathRewrite: {
        //             '^/': ''
        //         }
        //     }
        // }
    }
}